package com.deepwiki.dto;

/**
 * 创建仓库请求DTO
 */
public class CreateWarehouseRequest {

    /**
     * 仓库名称
     */
    private String name;

    /**
     * 本地代码路径 (而不是git地址)
     */
    private String localPath;

    /**
     * 仓库描述
     */
    private String description;

    /**
     * 分支名称(可选，用于显示)
     */
    private String branch;

    // Constructors
    public CreateWarehouseRequest() {
    }

    public CreateWarehouseRequest(String name, String localPath, String description, String branch) {
        this.name = name;
        this.localPath = localPath;
        this.description = description;
        this.branch = branch;
    }

    // Getters and Setters
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocalPath() {
        return localPath;
    }

    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    @Override
    public String toString() {
        return "CreateWarehouseRequest{" +
                "name='" + name + '\'' +
                ", localPath='" + localPath + '\'' +
                ", description='" + description + '\'' +
                ", branch='" + branch + '\'' +
                '}';
    }
} 